class CreateClients < ActiveRecord::Migration
  def self.up
    create_table :clients do |t|
      t.string :name, :length => 50
      t.string :cuit, :length => 20
      t.string :address, :length => 100
      t.string :province, :length => 50
      t.string :email, :length => 50
      t.string :phone, :length => 50
      t.string :zip_code, :length => 20
      t.integer :user_id

      t.timestamps
    end
  end

  def self.down
    drop_table :clients
  end
end
